package com.yangrong.userservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yangrong.common.utils.PageUtils;
import com.yangrong.common.utils.R;
import com.yangrong.userservice.entity.TbUserEntity;
import com.yangrong.userservice.entity.LoginRequestBean;

import java.util.Map;

/**
 * 用户表
 *
 * @author yangrong
 * @email 455833224@qq.com
 * @date 2020-09-04 11:09:13
 */
public interface TbUserService extends IService<TbUserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R checkLogin(LoginRequestBean request);

    boolean findUserPhone(String phone);

    void updateUserInfo(Map<String, Object> params);
}

